package com.abcdefg.java_chatroom.mapper;

import com.abcdefg.java_chatroom.model.User;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface UserMapper {
    //注册
    Integer addUser(User user);
    //登录
    User selectUserByName(String username);

}
